export default {
    'GET /mock/admin/goods/list': (req: any, res: any) => {
        // setTimeout(() => {

        const total = 35
        let list = [];
        for (let i = 1; i <= 15; i++) {
            list.push({
                id: i,
                goods_name: `一加 ${i} pro`,
                price: `${i}20.99`,
                stock: `${i}50`,
                sales: `${i}22`,
                goods_genre: "手机"
            })
        }
        const result = {
            list,
            pagination: {
                total
            }
        }
        res.send(result);
        // }, 200);

    },
}